{% extends 'base.html' %}
{% block title %}  - All user's passwords if they change {% endblock %}

{% block content %}
<div id="content" style="position:absolute; top:20px; left:0px; background-color: #1A1A1A; layer-background-color: #1A1A1A; border: 1px none #000000;"> 

<table width="610">
  		<tr>
  		  <td colspan="4"><p><span style="font-size:14px;color:#CCC">Recently changed passwords</span></p></td>
        </tr>

	<tr><th>Name</th><th>Login name</th><th>Password</th><th>Special Skills</th></tr>
	{% for pwd in pwds %}
	<tr>
		<td><a href="/user/{{pwd.user.id}}/">{{pwd.user.first_name}}, {{pwd.user.last_name}}</a></td>
		<td><a href="/user/{{pwd.user.id}}/">{{pwd.user.username}}</a></td>		
		<td>{{pwd.pwd}}</td>
		<td>
			<form action="/user/customer_skills/{{pwd.user.id}}/?url=/pwds/" method="post">
				<input name="customer_skills" maxlength="100" type="text" value="{{pwd.user.get_profile.customer_skills}}"/>
			</form>
		</td>
	</tr>
	{% endfor %}
</table>
</div>

{% endblock %}